package com.xyz.dao.dao;

import com.free.ext.mybatis.dao.BaseDao;
import com.xyz.dao.mapper.SLotteryMapper;
import com.xyz.domain.table.SLottery;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public class SLotteryDao extends BaseDao<SLottery,Integer> {

    @Autowired
    SLotteryMapper mapper;

    public List<SLottery> getAllLotteryInfos(){
        return mapper.getAllLotteryInfos();
    }

}